package com.imti.mall.sale.service;

import com.imti.mall.model.sms.pojo.SmsHomeRecommendSubject;
import com.imti.mall.sale.mapper.SmsHomeRecommendSubjectMapper;
import org.apache.ibatis.annotations.SelectProvider;
import org.apache.ibatis.annotations.UpdateProvider;

import java.util.List;

public interface SmsHomeRecommendSubjectService {
    /**
     * 查询首页专题推荐表
     */
    public List<SmsHomeRecommendSubject> findSmsHomeRecommendSubject (SmsHomeRecommendSubject smsHomeRecommendSubject,Integer pageSize, Integer pageNum);

    /**
     * 修改首页专题推荐表
     * @param smsHomeRecommendSubject
     * @return
     */
    public Integer updateSmsHomeRecommendSubject(SmsHomeRecommendSubject smsHomeRecommendSubject);

    /**
     * 根据id删除首页专题推荐
     * @param id
     * @return
     */
    public Integer delSmsHomeRecommendSubject(Integer id);

    /**
     * 添加首页专题推荐
     * @param smsHomeRecommendSubject
     * @return
     */
    public Integer addSmsHomeRecommendSubject(SmsHomeRecommendSubject smsHomeRecommendSubject);
}
